{% extends "base.html" %}
{% load i18n plmapp_tags %}

<!-- Manage html display in the Content div which correspond to the "files" menu -->

{% block content %}
    <p>
    {% trans "You cannot add a file to a GoogleDocument."%} 
    </p>
    {% if error %}
        <p>
        {% blocktrans %}
            You cannot access to this Google Document. If you did not created
            this document, you can ask its owner to grant you the permission
            to read this file in Google Document.
        {% endblocktrans%}
        </p>
    {% else %}
        <ul>
            <li>
            <a href="{{edit_uri}}">{% trans "Click here to edit the file in Google Document ." %}</a>
            </li>
            <li>
            <a href="{{download_uri}}">{% trans "Click here to download the file from Google." %}</a>
            </li>
    </ul>
    {% endif %}
{% endblock %}


